<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>消息回复</title>
	<script>document.write('<script src="../../plugin/vue/js/import.js?' + Math.random() + '"><' + '/script>');</script>
    <script>_import("../../plugin/vue/js/before.js");</script>
   	<script>_import("../../plugin/webuploader/webuploader.js");</script>
	<link rel="stylesheet" type="text/css" href="../../plugin/webuploader/webuploader.css"/>
</head>
<body>
	<div id="app" class="container" v-cloak>
        <div class="panel panel-default">
            <div class="panel-heading">
                <h3 class="panel-title"><i class="el-icon-circle-plus-outline mr5"></i>消息回复</h3>
            </div>
            <div class="panel-body">
            	<el-form v-loading="loading" label-width="100px" class="w-newsadd">
            		<el-row>
					  <el-col :span="8">
				  		<el-form-item label="消息类型：">
				  		    <el-select v-model="msgType" placeholder="请选择" disabled>
	                            <el-option v-for="item in mtpOptions" :key="item.code" :label="item.code_desc" :value="item.code">
	                            </el-option>
	                        </el-select>
						 </el-form-item>
					  </el-col>
					  <el-col :span="8">
				  		 <el-form-item label="归属部门：" prop="options">
				  		  	<el-cascader  :options="cascaderdept.depts" v-model="cascaderdept.deptvalue"
								:show-all-levels="cascaderdeptOpt.showallevels" :change-on-select="cascaderdeptOpt.changeonselect"
								:filterable="cascaderdeptOpt.filterable"  :props="cascaderdeptOpt.defaultProps"
								:clearable="cascaderdeptOpt.clearable" @change="deptChg" disabled>
							</el-cascader>
						 </el-form-item>
					  </el-col>
					  <el-col :span="8">
					  	<el-form-item label="创建时间：">
						 	<el-date-picker v-model="createDate" readonly type="date"  placeholder="选择日期"></el-date-picker>
						 </el-form-item>
					  </el-col>
					</el-row>					 
				     <el-form-item  label="标题：">
				      <el-input type="text" v-model="title" readonly autocomplete="off"></el-input>
				     </el-form-item>
					 <el-form-item label="内容：">
					    <el-input type="textarea" v-model="content" readOnly></el-input>
					 </el-form-item>
					 <!-- 表格 -->
					 <el-collapse v-model="activeNames">
						 <el-form-item label="">
							  <el-collapse-item title="折叠/展开  " name="1">
							  	<filelist ref="flist" :args.sync="fileArgs" :deletable.sync="fdelable"></filelist>
							  </el-collapse-item>
					    </el-form-item>	  
					</el-collapse>
					
					<el-form-item label="回复内容：">
					    <el-input type="textarea" v-model="comm" :autosize="{ minRows: 4, maxRows: 8}"></el-input>
					 </el-form-item>
					<!--  comm -->
					
					 <el-form-item class="tc">
					    <el-button type="primary" @Click="save">保存</el-button>
					    <el-button type="primary" @Click="back">返回</el-button>
					  </el-form-item>
				</el-form>
            </div>
        </div>
   </div>         

<!-- 
<script>
   _import("../../plugin/vue/js/other.js");
</script>
 -->
<script>
    _import("../../plugin/vue/js/after.js");
</script> 
<script>_import("../../plugin/vue/js/treeselect/vue-treeselect.js");</script>  
<script>
    _import("../../plugin/vue/js/file/filelist.js");
</script>   
<script>
    _import("js/comlist.js");
</script>
<script>
    _import("js/msgread.js");
</script>
</body>
</html>